years ago i found a fan video of Sharon lifshitz track. since gone from the net
today digitalMe re-found his party mix and i got around to program a video mix of this two.
below is an automagical beat-tracking/video-shifting code that merge them together. (howto below)
enjoy
max/msp/jitter code
what is going on in this max/msp[1] patch[2]:
audio is loaded into a [~buffer] and played by a [~groove] object[3].
the [~level] object, aside from being a visual audio bar level, also outputs the level as a number out of its outlet[4]
which we then compare to previous value, resulting in a value between -1.0 and 1.0
the higher it is the bigger the change. this is a simple way of doing beat detection.
the [split] object splits big positive changes (to the left outlet) and lower values (to the right)
this two numbers control the video playhead
video is loaded into the [jit.qt.movie] object using the [read] message
control of the playhead is done using a [time $1] message, which is controled via the audio. done
[1] max/msp is a visual programming language (cycling74.org)
[2] a patch is max speak for the program we are running
[3] objects are the small boxes, each one as inputs and outputs. they do something to the data.
[4] most objects have an outlet and inlet. this is the data flow of max and it goes from top to bottom, right to left.